﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    
    class Program
    {
        static void cain(string[] args)
        {
            
        }

            
        private string name;
        private int hao;
        private int mi;
        private string shen;
        public string Name {
            get { return this.name; }
            set { this.name = value; }
            
        }
        public int Hao
        {
            get { return this.hao; }
            set { this.hao = value; }

        }
        public int Mi
        {
            get { return this.mi; }
            set { this.mi = value; }

        }
        public string Shen
        {
            get { return this.shen; }
            set { this.shen = value; }

        }
        
        public void SayHI() {
            Console.WriteLine("用户是{0}账号是{1}密码是{2}身份是{3}",this.mi,this.hao,this.shen,this.name);
        }
        





    }

    class BOOK
    { 
        
		private int id;
        private string name;
        private double price;
        
        public int Id
        {
            get
            {
                return this.id;
            }
            set
            {
                this.id = value;
            }
        }
       
        public string Name
        {
            get
            { return this.name; }
            set {this.name = value;}
        }
        
        public double Price
        {
            get
            {
                return this.price;
            }
            set
            {
                this.price = value;
            }
        }
        public void SayHI()
        {
            Console.WriteLine("书籍号是{0}书籍名是{1}价格是{2}", this.id, this.name, this.price);
        }


    }
    class chubanshe
    {



        private string name;
        private int hao;
        private string mi;
        private string shen;
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }

        }
        public int Hao
        {
            get { return this.hao; }
            set { this.hao = value; }

        }
        public string Mi
        {
            get { return this.mi; }
            set { this.mi = value; }

        }
        public string Shen
        {
            get { return this.shen; }
            set { this.shen = value; }

        }

        public void SayHI()
        {
            Console.WriteLine("出版社是{0}出版社号是{1}地址是{2}社长是{3}", this.mi, this.hao, this.shen, this.name);
        }






    }

}
    
